home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 20 / Cream of the Crop 20 (Terry Blount) (1996).iso / os2 / bind493a.zip / Makefile < prev    next >
Makefile  |  1996-06-13  |  21KB  |  795 lines

  1. # Makefile for BIND>=4.9 top level
  2. # vixie@decwrl December, 1992 [original]
  3. #
  4. # $Id: Makefile,v 8.27 1995/12/31 23:27:58 vixie Exp $
  5.  
  6. ## ++Copyright++ 1989
  7. ## -
  8. ## Copyright (c) 1989
  9. ##    The Regents of the University of California.  All rights reserved.
  10. ## 
  11. ## Redistribution and use in source and binary forms, with or without
  12. ## modification, are permitted provided that the following conditions
  13. ## are met:
  14. ## 1. Redistributions of source code must retain the above copyright
  15. ##    notice, this list of conditions and the following disclaimer.
  16. ## 2. Redistributions in binary form must reproduce the above copyright
  17. ##    notice, this list of conditions and the following disclaimer in the
  18. ##    documentation and/or other materials provided with the distribution.
  19. ## 3. All advertising materials mentioning features or use of this software
  20. ##    must display the following acknowledgement:
  21. ##     This product includes software developed by the University of
  22. ##     California, Berkeley and its contributors.
  23. ## 4. Neither the name of the University nor the names of its contributors
  24. ##    may be used to endorse or promote products derived from this software
  25. ##    without specific prior written permission.
  26. ## 
  27. ## THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  28. ## ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  29. ## IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  30. ## ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  31. ## FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  32. ## DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  33. ## OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  34. ## HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  35. ## LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  36. ## OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  37. ## SUCH DAMAGE.
  38. ## -
  39. ## Portions Copyright (c) 1993 by Digital Equipment Corporation.
  40. ## 
  41. ## Permission to use, copy, modify, and distribute this software for any
  42. ## purpose with or without fee is hereby granted, provided that the above
  43. ## copyright notice and this permission notice appear in all copies, and that
  44. ## the name of Digital Equipment Corporation not be used in advertising or
  45. ## publicity pertaining to distribution of the document or software without
  46. ## specific, written prior permission.
  47. ## 
  48. ## THE SOFTWARE IS PROVIDED "AS IS" AND DIGITAL EQUIPMENT CORP. DISCLAIMS ALL
  49. ## WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES
  50. ## OF MERCHANTABILITY AND FITNESS.   IN NO EVENT SHALL DIGITAL EQUIPMENT
  51. ## CORPORATION BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
  52. ## DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
  53. ## PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
  54. ## ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
  55. ## SOFTWARE.
  56. ## -
  57. ## --Copyright--
  58.  
  59. VER = 4.9.3-REL
  60. SHELL = /bin/sh
  61. MAKE = make
  62. DESTDIR =
  63.  
  64. INCL = include
  65. RES = res/libresolv.a
  66. COMPLIB = compat/lib/lib44bsd.a
  67.  
  68. # The default build parameters are given for 4.4 BSD.  They should
  69. # be overridden for other operating systems as indicated below.
  70.  
  71. #(BSD4.4, BSD/OS, FreeBSD, NetBSD, other net2-alikes)
  72. #
  73. # DO NOT COMMENT THESE OUT.  OVERRIDE THEM BELOW.
  74. #
  75. CC = gcc $(CPPFLAGS)
  76. LDFLAGS = -Zcrtdll -Zmtd -D__ST_MT__ERRNO
  77. CDEBUG = -O2 -Zcrtdll -Zmtd -D__ST_MT__ERRNO
  78. CPPFLAGS= -include /emx/include/sys/types.h -include /emx/include/sys/so_ioctl.h -DSIGIOT=SIGABRT
  79. INDOT =
  80. XFER_INDOT =
  81. LEX = flex -I
  82. LIBS = -lsocket -lflex -lsyslog
  83.  
  84. #PIDDIR = /var/run
  85. #DESTBIN = /usr/bin
  86. #DESTSBIN = /usr/sbin
  87. #DESTEXEC = /usr/libexec
  88. #DESTMAN = /usr/share/man
  89. #DESTHELP = /usr/share/misc
  90. #DESTLIB = /usr/lib
  91. #DESTINC = /usr/include
  92. #COMPINCL = compat/include
  93.  
  94. # for OS/2 we have our own special needs
  95. PIDDIR = /tcpip/etc
  96. DESTBIN = /tcpip/bin
  97. DESTSBIN = /tcpip/bin
  98. DESTEXEC = /tcpip/bin
  99. DESTMAN = /man
  100. DESTHELP = /tcpip/help
  101. DESTLIB = /tcpip/lib
  102. DESTINC = /usr/include
  103. COMPINCL = compat/include
  104.  
  105.  
  106.  
  107. LDS = 
  108. CATEXT = 0
  109. INSTALL_COMPAT = install
  110. INSTALL = install
  111. RANLIB = ar s
  112. AR = ar cru
  113. MANROFF = ( tbl | nroff -man )
  114. MANDIR = cat
  115. PS = ps
  116. IOT = ABRT
  117. SHCC =
  118. SHLD =
  119.  
  120. # (NetBSD - for details on shared library building, see shres/netbsd/INSTALL)
  121. #uncomment next three lines to build a shared library version of libresolv
  122. #SHRES = shres/netbsd
  123. #SHCC = cc
  124. #PIC = -fpic
  125.  
  126. #(Linux - on modern systems, all you need to do is rename or remove
  127. # compat/include/sys/cdefs.h.  See doc/info/Linux for more information.)
  128. #CC = gcc $(CPPFLAGS)
  129. #CDEBUG = -g
  130. #CPPFLAGS = -DSYSV
  131. #LIBS = -lfl
  132. #DESTEXEC = /usr/sbin
  133. #DESTMAN = /usr/man
  134. #DESTHELP = /usr/lib
  135. #CATEXT = $$$$N
  136. #PS = ps -p
  137. #IOT = IOT
  138.  
  139. #(CRAY)
  140. #CDEBUG = -g
  141. #LEX=lex
  142. #IOT = IOT
  143.  
  144. #(DEC AXP OSF/1 Version 2.1 and earlier)
  145. #CC = cc $(CPPFLAGS)
  146. #CDEBUG = -g3 -O2 -Olimit 2000
  147. #CPPFLAGS =
  148. #LEX = lex
  149. #LIBS = -ll -lutil
  150. #DESTEXEC = /usr/sbin
  151. #COMPINCL = compat/include
  152. #INSTALL_COMPAT = install-compat
  153. #INSTALL = installbsd
  154. #MANDIR = man
  155. #MANROFF = cat
  156. #CATEXT = $$$$N
  157. #PS = ps -p
  158. #IOT = IOT
  159.  
  160. #(DEC AXP OSF/1 Version 3.0 and after)
  161. #CC = cc $(CPPFLAGS) -std
  162. #CDEBUG = -g3 -O2 -Olimit 2000
  163. #CPPFLAGS =
  164. #LEX = lex
  165. #LIBS = -ll -lutil
  166. #DESTEXEC = /usr/sbin
  167. #COMPINCL = compat/include
  168. #INSTALL_COMPAT = install-compat
  169. #INSTALL = installbsd
  170. #MANDIR = man
  171. #MANROFF = cat
  172. #CATEXT = $$$$N
  173. #PS = ps -p
  174. #IOT = IOT
  175.  
  176. #(irix4)
  177. #CC = cc $(CPPFLAGS) -xansi -signed
  178. #CDEBUG = -g
  179. #CPPFLAGS = -D__STDC__ -D_BSD_SIGNALS -DSIG_FN=int
  180. #LEX = lex
  181. #LIBS = -ll 
  182. #DESTSBIN = /usr/etc
  183. #DESTEXEC = /usr/etc
  184. #DESTMAN = /usr/catman/local
  185. #DESTHELP = /usr/lib
  186. #INSTALL = bsdinstall.sh
  187. #RANLIB = :
  188. #PS = ps -p
  189. #(bsdinstall.sh is in conf/)
  190. #IOT = IOT
  191.  
  192. #(irix5)
  193. #CC = cc $(CPPFLAGS) -xansi -signed
  194. #CDEBUG = -g
  195. #CPPFLAGS = -D__STDC__ -D_BSD_SIGNALS -DSIG_FN=void -D__BIT_TYPES_DEFINED__
  196. #LEX = lex
  197. #LIBS = -ll 
  198. #DESTSBIN = /usr/etc
  199. #DESTEXEC = /usr/etc
  200. #DESTMAN = /usr/share/catman/local
  201. #DESTHELP = /usr/lib
  202. #INSTALL = bsdinstall.sh
  203. #RANLIB = :
  204. #PS = ps -p
  205. #(bsdinstall.sh is in conf/)
  206. #IOT = IOT
  207.  
  208. #(sunos4.x)
  209. #CC = /usr/bin/cc $(CPPFLAGS)
  210. #CDEBUG = -g
  211. #CPPFLAGS = -DSUNOS4
  212. #INDOT = in.
  213. #XFER_INDOT = in.
  214. #LEX = lex
  215. #LIBS = -ll
  216. #(add "-ldl" to LIBS if your links fail with "dlopen" problems.  this indicates
  217. # that your libc.so file is screwed up, but it's easier to fix this than that.)
  218. #PIDDIR = /etc
  219. #DESTSBIN = /usr/etc
  220. #DESTEXEC = /usr/etc
  221. #DESTHELP = /usr/lib
  222. #COMPINCL = compat/include
  223. #CATEXT = $$$$N
  224. #INSTALL_COMPAT = install-compat
  225. #INSTALL = install
  226. #IOT = IOT
  227. # (for details on shared library building, see shres/sunos/INSTALL;
  228. #  note that shres/solaris/INSTALL has some good testing notes for sunos)
  229. #uncomment next line to build a shared library version of libresolv
  230. #SHRES = shres/sunos
  231. # uncomment only one of the pairs of lines below
  232. # -- if you use gcc (recommended)
  233. #    (if -fpic doesn't work, see shres/sunos/PROBLEMS)
  234. #SHCC = gcc -DSUNOS4 -DSUNSECURITY
  235. #PIC= -fpic -D_res=_res_shlib
  236. # -- if you use Sun's cc
  237. #SHCC = /usr/bin/cc -DSUNOS4 -DSUNSECURITY
  238. #PIC = -pic -D_res=_res_shlib
  239.  
  240. #(ULTRIX/RISC - also see below)
  241. #CC = cc $(CPPFLAGS) -Olimit 2000
  242.  
  243. #(ULTRIX, other 4.[23]bsd-alikes)
  244. #CDEBUG = -g
  245. #CPPFLAGS =
  246. #LEX = lex
  247. #LIBS = -ll
  248. #PIDDIR = /etc
  249. #DESTSBIN = /usr/etc
  250. #DESTEXEC = /usr/etc
  251. #DESTHELP = /usr/lib
  252. #COMPINCL = compat/include
  253. #CATEXT = $$$$N
  254. #INSTALL_COMPAT = install-compat
  255. #INSTALL = install
  256. #DESTMAN = /usr/man
  257. #MANDIR = man
  258. #MANROFF = cat
  259. #IOT = IOT
  260.  
  261. #(solaris2.x/sunos5.x)
  262. #be careful with installation - note in particular that the system ships
  263. #with /usr/sbin/in.named (with in.) and /usr/sbin/named-xfer (without in.)
  264. #to emulate this naming, INDOT should be set to 'in.' while XFER_INDOT 
  265. #should be empty. also, under solaris2.x, use 'make install' at your own risk.
  266. #don't include sys/stream.h via netinet/in.h by defining _SYS_STREAM_H.
  267. #->and note that sun moved their nslookup to /usr/sbin for some odd reason;
  268. #  when you install this one in /usr/bin you should delete sun's or else you
  269. #  will get confusing results since you never know which nslookup you're using.
  270. #PIDDIR = /etc
  271. #LEX = l